package com.hanxiaozhang.httpclient;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author hanxinghua
 * @create 2021/12/29
 * @since 1.0.0
 */
public class Test {


    public static final String URL = "https://images.hztech.net.cn/images/2022-02-16/2224899/page_2224899_26.png!w300x200.png?rnd=202";

    public static void main(String[] args) {


        // HttpClientUtil.getByHttpProxy("http://www.hanxiaozhang.xyz");

//        String url = "https://tyaqy.m.cn.miaozhen.com/r/k=2279548&p=841L2&dx=__IPDX__&rt=2&pro=s&ns=__IP__&ni=__IESID__&v=__LOC__&xa=__ADPLATFORM__&tr=__REQUESTID__&mo=__OS__&m0=__OPENUDID__&m0a=__DUID__&m1=__ANDROIDID1__&m1a=__ANDROIDID__&m2=__IMEI__&m4=__AAID__&m5=__IDFA__&m6=__MAC1__&m6a=__MAC__&m11=__OAID__&m14=__CAID__&m5a=__IDFV__&mn=__ANAME__&o=";
//        url = url.replaceAll("\\{", "%7B");
//        url = url.replaceAll("}", "%7D");
//        url = url.replaceAll("\\[", "%5B");
//        url = url.replaceAll("]", "%5D");
//
//        System.out.println(HttpClientUtil.get(url));


//        ExecutorService executorService = Executors.newFixedThreadPool(1000);
//
//        while (true){
//            executorService.submit(() -> {
//                HttpClientUtil.get(URL);
//            });
//            System.out.printf("ok");
//        }


    }
}
